<script setup lang="ts">
import { useDark, useToggle } from '@vueuse/core'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const isDark = useDark()
useToggle(isDark)
</script>

<template>
    <el-config-provider :locale="zhCn">
        <router-view></router-view>
    </el-config-provider>
</template>

<style scoped>
</style>